/*
 *  AMCBinRef.h
 *  
 *
 *  Created by Peter on 23.02.12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */
#ifndef A_MC_BIN_REF_H
#define A_MC_BIN_REF_H

#include "AStream.h"
#include "AObject.h"

/*
 * Version: 1 (MC 5.0.3)
 */
class AMCBinRef : public AObject
{
	
public:
	
	A_DECLARE_CLASS( 'MCBR', AMCBinRef, AObject );
	
	virtual void readFromStream( AStream& str, const AObjDoc& objd );
	virtual void dump( std::ostream& str ) const;
	
	// These two are the UID of the bin we refer to. The ABin object has UID 
	// fieds that match these.
	UInt32      _binIdHigh; // OMFI:MCBR:MC:binID.high
	UInt32      _binIdLow;  //OMFI:MCBR:MC:binID.low
	
	// This is the name of the bin
	std::string _binName; 
	
};

#endif /*Inclusion Guard*/
